<!doctype html>
<style>

div {
    width: 100px;
    height: 100px;
    color: green;
}

#div_border {
    border: 10px solid;
}

#div_outline {
    outline: 10px solid;
    margin: 20px 0 0 10px;
    color: green;
}

</style>
<div id="div_border"></div>
<div id="div_outline"></div>
